﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="Countries.aspx.cs" Inherits="Admin_Countries" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <telerik:RadGrid ID="gridCountries" DataSourceID="dsCountries" runat="server" 
        AllowAutomaticDeletes="True" AllowAutomaticInserts="True" 
        AllowAutomaticUpdates="True" AllowPaging="True" AutoGenerateColumns="False" 
        AutoGenerateDeleteColumn="False" AutoGenerateEditColumn="False" GridLines="None" 
        Skin="Telerik">
        <HeaderContextMenu EnableTheming="True">
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
        </HeaderContextMenu>

        <MasterTableView DataSourceID="dsCountries" InsertItemDisplay="Bottom" 
                    CommandItemDisplay="Bottom" AllowSorting="True" DataKeyNames="Id">
            <RowIndicatorColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
    </RowIndicatorColumn>

    <ExpandCollapseColumn>
    <HeaderStyle Width="20px"></HeaderStyle>
    </ExpandCollapseColumn>
        <Columns>
            <acms:RadIndexColumn />
            <acms:RadGridTextBoxColumn DataField="Name" HeaderText="Name" 
                SortExpression="Name" UniqueName="Name" Required="true"/>
            <telerik:GridBoundColumn DataField="Created" DataType="System.DateTime" 
                HeaderText="Created" ReadOnly="True" SortExpression="Created" 
                UniqueName="Created">
            </telerik:GridBoundColumn>
            <acms:RadGridEditColumn />
            <acms:RadGridDeleteColumn />
        </Columns>
        <PagerStyle Mode="Slider" />
    </MasterTableView>
    <FilterMenu EnableTheming="True">
    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
    </FilterMenu>
    </telerik:RadGrid>
    <acms:EventDrivenDataSource id="dsCountries" runat="server" />
</asp:Content>

